package emailUtils;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

public class MailMessage implements Serializable
{
    private static final long serialVersionUID = 8491654360585268515L;
    //header
    //1 text with attchs  2 html
    private String mailtype;  
    
    //subject
    private String subject;   
    
    //body
    //1 text && mutilpart
    private String text;
    
    //2 html 
    private String htmlurl;   
    
    //attachments
    private String[] locals;
    private String[] remotes;
    public String getMailtype()
    {
        return mailtype;
    }
    public void setMailtype(String mailtype)
    {
        this.mailtype = mailtype;
    }
    public String getSubject()
    {
        return subject;
    }
    public void setSubject(String subject)
    {
        this.subject = subject;
    }
    public String getText()
    {
        return text;
    }
    public void setText(String text)
    {
        this.text = text;
    }
    public String getHtmlurl()
    {
        return htmlurl;
    }
    public void setHtmlurl(String htmlurl)
    {
        this.htmlurl = htmlurl;
    }
    public String[] getLocals()
    {
        return locals;
    }
    public void setLocals(String[] locals)
    {
        this.locals = locals;
    }
    public String[] getRemotes()
    {
        return remotes;
    }
    public void setRemotes(String[] remotes)
    {
        this.remotes = remotes;
    }
    @Override
    public String toString()
    {
        return "MailMessage [mailtype=" + mailtype + ", subject=" + subject + ", text=" + text + ", htmlurl=" + htmlurl + ", locals=" + Arrays.toString(locals) + ", remotes=" + Arrays.toString(remotes) + "]";
    }
      
}
